package HttpServlet;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.HashMap;

public abstract class Hasmap {
    public abstract void init() throws ServletException;

    protected abstract void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException;

    public static class AllController {
        HashMap<String,String> map=new HashMap<>();

        public void a(){
            System.out.println("a方法执行");
        }

        public void b(){
            System.out.println("b方法执行");
        }
    }
}
